/**
 *@des 客服相关接口
 *@author 刘三刀
 *@date 2019/11/16 11:04:16
 */
import { baseUrl } from './params';
// let addressUrl = 'https://console.tim.qq.com/v4'
// // 客服初始化接入接口
// const imInit = "/merchants/im/im-init";
//
// // 查询客服信息
// const getroammsg =  addressUrl + "/openim/admin_getroammsg?sdkappid="+uni.getStorageSync('customerService').sdkappid+"&identifier="+uni.getStorageSync('customerService').admin+"&usersig="+uni.getStorageSync('customerService').userSig+"&random="+new Date().getTime()+"&contenttype=json";
//
// // 客服单聊
// const sendmsg =  addressUrl + "/openim/sendmsg?sdkappid="+uni.getStorageSync('customerService').sdkappid+"&identifier="+uni.getStorageSync('customerService').admin+"&usersig="+uni.getStorageSync('customerService').userSig+"&random="+new Date().getTime()+"&contenttype=json";
//
// // 商家单聊
// const customSendmsg =  addressUrl + "/openim/sendmsg?sdkappid=1400353221&identifier=admin&usersig=eJyrVgrxCdYrSy1SslIy0jNQ0gHzM1NS80oy0zLBwokpuZl5UInilOzEgoLMFCUrQxMDA2NTYyMjQ4hMakVBZlEqUNzU1NTIwMAAIlqSmQsWszAHAgMDI6gpmelAc0PSinNzCytNLYpdK8xCCwOygi3TQovKUrXdkrw9HP2dPbUDc0pj9L1Cc6qSbZVqAWm8Mi0_&random="+new Date().getTime()+"&contenttype=json";

const messageList = "/tiny-shop/v1/chat/chat-kefu/message-list";

const merchatMessages = "/tiny-shop/v1/chat/chat-kefu/chat-kefu";
const messageSend = "/tiny-shop/v1/chat/chat-kefu/send";

export {
	// imInit,
    // getroammsg,
	// sendmsg,
	// customSendmsg,
	messageList,
	merchatMessages,
	messageSend,
};
